home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
726-750
/
744
/
fo2
/
sources_fo2
/
dmakefile
< prev
next >
Wrap
Makefile
|
1995-03-18
|
703b
|
33 lines
#
# General usage DMakeFile. (just modify SRCS HDRS EXE and PROTOS)
#
SRCS = FO2.c RoutinesTD.c start.c gadgets.c misc.c proc_FO.c disk.c mem.c arrange.c \
BitMap.c Check.c CheckSum.c MemToDisk.c Modify.c move.c MoveHderB.c optimize.c \
opts.c
HDRS = defs.h RoutinesTD.h .h
EXE = FO2
PROTOS = FO2_protos.h
PRECOMP = t:Defs.m
OPTS = -mR -Ht:Defs.m=Defs.h
OBJSC = $(SRCS:"*.c":"%1.o")
all : $(PRECOMP) $(PROTOS) $(HDRS) $(EXE)
$(EXE) : $(PROTOS) $(OBJSC) $(HDRS)
dcc $(OBJSC) -o $(EXE) $(OPTS)
$(OBJSC) : $(SRCS:*.c)
dcc %(right) -c -o %(left) $(OPTS)
$(PROTOS) : $(SRCS:*.c)
-delete %(left)
makeproto -o %(left) $(SRCS:*.c)
$(PRECOMP) : $(HDRS) $(SRCS:*.c)
-delete %(left)